package model

import (
	"github.com/zachary/tbox/internal/util"
	"gorm.io/gorm"
)

type BaseModel struct {
	ID        int64          `json:"id" gorm:"primarykey"`
	CreatedAt util.Time      `json:"createdAt"`
	UpdatedAt util.Time      `json:"updatedAt"`
	DeletedAt gorm.DeletedAt `json:"-" gorm:"index"`
}
